<br />
<p class='text-center lead'>{project_code} {project_name}的 {pipe_class} 等级表</p>

<script language="JavaScript" type="text/javascript" src="http://192.168.1.70/JS/jquery.tablesorter.js"></script>

<table class='table table-striped table-bordered' id = 'mytable'>
	<thead>
	<tr  class="info">
	<th class="col-md-5" ><strong>描述</strong></th>
	<th class="col-md-3" ><strong>材料</strong></th>
	<th class="col-md-1" ><strong>最小DN</strong></th>
	<th class="col-md-1" ><strong>最大DN</strong></th>
	<th class="col-md-2" ><strong>操作</strong></th>
	</tr>
	</thead>
	
	<tbody>
	{pmss}
		<tr>
		<td>{shap}</td>
		<td>{material}</td>
		<td>{min_dn}</td>
		<td>{max_dn}</td>
		<td>
			<a class='btn btn-danger btn-sm' href='http://<?php echo base_url(); ?>index.php/pdms_pms/index/{project_id}/{id}/1/{pipe_class}' role='button'>删除</a>
		</td>
		</tr>
	{/pmss}
	</tbody>
</table>

<script type="text/javascript">
	jQuery("#mytable").tablesorter();
</script>